home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Blogowanie poza sfera
/
Flock 0.9.1.3 stable
/
flock-0.9.1.3.en-US.win32.exe
/
flock
/
res
/
detect
/
delicious.xml
< prev
next >
Wrap
Extensible Markup Language
|
2007-10-12
|
2KB
|
74 lines
<?xml version="1.0" encoding="utf-8"?>
<service name="delicious"
version="$Id: delicious.xml 13478 2007-07-19 19:45:26Z chris $"
xmlns="http://www.flock.com/web-detective#">
<strings>
<string name="domains" value="icio.us"/>
</strings>
<sessioncookies>
<cookie host=".del.icio.us" name="_user" path="/"/>
<cookie host=".del.icio.us" name="notifications_seen" path="/"/>
<cookie host=".del.icio.us" name="_accept_s_cookies" path="/"/>
</sessioncookies>
<detect type="login">
<url><host equals="secure.del.icio.us"/></url>
<form>
<xpath name="username" extract="value">
<![CDATA[[@action="https://secure.del.icio.us/login"]/input[@id="user_name"]]]>
</xpath>
<xpath name="password" extract="value">
<![CDATA[/input[@id="password"]]]>
</xpath>
</form>
</detect>
<detect type="signup">
<url>
<host equals="secure.del.icio.us"/>
<path contains="/register"/>
</url>
<form>
<field tagname="input" name="user_name" extractas="username"/>
<field tagname="input" name="password2" type="password" extractas="password"/>
</form>
</detect>
<detect type="changepassword">
<url>
<host equals="secure.del.icio.us"/>
<path contains="/profile/changepw"/>
</url>
<document>
<regexp re1="username">
<![CDATA[/<title>del.icio.us\/settings\/(.*)\/profile\/changepw<\/title>/]]>
</regexp>
</document>
<form>
<xpath name="password" extract="value">
<![CDATA[//input[@type="password"][@name="newpassword2"]]]>
</xpath>
</form>
</detect>
<detect type="loggedin">
<url domain="del.icio.us"/>
<xpath><![CDATA[//div[@id="header"]//p[@id="header-auth-links"]/text()[contains(.,"logged in as")]]]></xpath>
</detect>
<detect type="loggedout">
<url domain="del.icio.us"/>
<xpath><![CDATA[//div[@id="header"]//p[@id="header-auth-links"]/a//text()[contains(.,"login")]]]></xpath>
</detect>
<detect type="accountinfo">
<url domain="del.icio.us"/>
<regexp re1="accountid">
<![CDATA[/logged in as <strong>(.+?)</]]>
</regexp>
</detect>
</service>